package com.baizhi.dao;

import com.baizhi.entity.User;
import org.apache.ibatis.annotations.Param;

public interface UserDAO {
    /*根据姓名和密码查询*/
    public User selectByNameAndPassword(@Param("username") String username, @Param("password") String password);
    /*增*/
    public void insert(User user);
}
